package com.crm.pojo;

import javax.persistence.*;
import java.io.Serializable;


/**
 * The persistent class for the PRODUCTIONCATEGORY database table.
 * 
 */
@Entity
@NamedQuery(name="Productioncategory.findAll", query="SELECT p FROM Productioncategory p")
public class Productioncategory implements Serializable {
	private static final long serialVersionUID = 1L;

	@Id
	@SequenceGenerator(initialValue = 1, allocationSize = 1,name="PRODUCTIONCATEGORY_PCID_GENERATOR", sequenceName="SEQ3")
	@GeneratedValue(strategy=GenerationType.SEQUENCE, generator="PRODUCTIONCATEGORY_PCID_GENERATOR")
	private Long pcid;

	private Long pcdepth;

	private String pcname;

	private Long pcpid;

	private Long pcpriority;

	private Long pcstatus;
	@Transient
	private String pcpname;

	public String getPcpname() {
		return pcpname;
	}

	public void setPcpname(String pcpname) {
		this.pcpname = pcpname;
	}

	@Column(name="PRODUCTIONCATEGORY_IS_DEL")
	private String productioncategoryIsDel;

	public Productioncategory() {
	}

	public Long getPcid() {
		return this.pcid;
	}

	public void setPcid(Long pcid) {
		this.pcid = pcid;
	}

	public Long getPcdepth() {
		return this.pcdepth;
	}

	public void setPcdepth(Long pcdepth) {
		this.pcdepth = pcdepth;
	}

	public String getPcname() {
		return this.pcname;
	}

	public void setPcname(String pcname) {
		this.pcname = pcname;
	}

	public Long getPcpid() {
		return this.pcpid;
	}

	public void setPcpid(Long pcpid) {
		this.pcpid = pcpid;
	}

	public Long getPcpriority() {
		return this.pcpriority;
	}

	public void setPcpriority(Long pcpriority) {
		this.pcpriority = pcpriority;
	}

	public Long getPcstatus() {
		return this.pcstatus;
	}

	public void setPcstatus(Long pcstatus) {
		this.pcstatus = pcstatus;
	}

	public String getProductioncategoryIsDel() {
		return this.productioncategoryIsDel;
	}

	public void setProductioncategoryIsDel(String productioncategoryIsDel) {
		this.productioncategoryIsDel = productioncategoryIsDel;
	}

}